package com.esri.core.internal.tasks.ags;

import com.esri.core.ags.MapServiceInfo;
import com.esri.core.internal.tasks.TaskListener;
import com.esri.core.io.UserCredentials;
import java.util.Map;

/* loaded from: classes.dex */
public class t extends com.esri.core.internal.tasks.d<MapServiceInfo> {
    private static final long serialVersionUID = 1;

    public t(String str, UserCredentials userCredentials, TaskListener<MapServiceInfo> taskListener) {
        super(null, str, userCredentials, taskListener);
    }

    public t(String str, UserCredentials userCredentials) {
        super(null, str, userCredentials);
    }

    @Override // com.esri.core.internal.tasks.a
    /* renamed from: a */
    public MapServiceInfo execute() throws Exception {
        return MapServiceInfo.fromJson(com.esri.core.internal.io.handler.h.a(this.serviceURL, (Map<String, String>) null, getServiceCredentials()), this.serviceURL);
    }
}
